<template>
    <!-- App.vue -->
<v-app>
  <v-navigation-drawer app>
    <!-- -->
      <v-list-item>
        <v-list-item-content>
          <v-list-item-title class="text-h6">
            Application
          </v-list-item-title>
          <v-list-item-subtitle>
            subtext
          </v-list-item-subtitle>
        </v-list-item-content>
      </v-list-item>

      <v-divider></v-divider>
      <v-list
        dense
        nav
      >
        <v-list-item
          v-for="item in items"
          :key="item.title"
          :href="item.link"
          link
        >
          <v-list-item-icon>
            <v-icon>{{ item.icon }}</v-icon>
          </v-list-item-icon>

          <v-list-item-content>
            <v-list-item-title>{{ item.title }}</v-list-item-title>
          </v-list-item-content>
        </v-list-item>
      </v-list>
  </v-navigation-drawer>

  <v-app-bar app>
    <!-- -->
    中间顶部栏
  </v-app-bar>

  <!-- 根据应用组件来调整你的内容   -->
  <v-main style="padding:0px">
    <!-- 给应用提供合适的间距 -->
      <!-- 如果使用 vue-router -->
      <router-view></router-view>
  </v-main>

  <v-footer app>
    底部
  </v-footer>
</v-app>
</template>

<style type="text/css">
.v-main {
padding: 0px,0px,0px,0px;}
</style>

<script>
  export default {
    data () {
      return {
        items: [
          { title: '测试用例', icon: 'mdi-view-dashboard',link:"testcase"},
          { title: '测试任务', icon: 'mdi-image',link:"task" },
          { title: '测试报告', icon: 'mdi-help-box' },
        ],
        right: null,
      }
    },
  }
</script>